package com.danco.training.hoteladmin.storage;

import java.util.Comparator;
import com.danco.training.hoteladmin.core.Client;

public class ClientSortByDate implements Comparator<Client> {
	@Override
	public int compare(Client o1, Client o2) {
		return o1.getDateOfEviction().compareTo(o2.getDateOfEviction());
	}

}
